package com.bupt.vueblog.service;

import com.bupt.vueblog.domain.dto.UserChangeDTO;
import com.bupt.vueblog.domain.entity.User;
import com.bupt.vueblog.domain.dto.UserDTO;

/**
 * @author 谭继好
 * @Description
 * @date 2024-04-09 13:33
 */
public interface UserService {

    User getByName(String name);

    User getById(Integer id);

    void insert(UserDTO user);

    void change(UserChangeDTO user);

    void delete(Integer id);
}
